package com.ll.webapi.springbootannotation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ll
 * @since 2021-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="FilmInfo对象", description="")
public class FilmInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "电影编号")
    @TableId(value = "film_id", type = IdType.AUTO)
    private Integer filmId;

    @ApiModelProperty(value = "电影名称")
    private String filmName;

    @ApiModelProperty(value = "电影类型")
    private Integer filmType;

    @ApiModelProperty(value = "时长")
    private Integer filmDuration;

    @ApiModelProperty(value = "上映时间")
    private LocalDate releaseDate;

    @ApiModelProperty(value = "备注")
    private String filmRemark;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer version;


}
